package com.xh.xyzp.domain.vo;

import com.xh.xyzp.util.AssertUtil;
import lombok.Data;

/**
 * @Author: xianghao
 * @Description:
 * @Date: 2025-04-12  11:10
 */
@Data
public class LoginReq {
    private String username;
    private String password;
    private Integer type;
    public void checkParams() {
        AssertUtil.isNotEmpty(username, "账号不能为空");
        AssertUtil.isNotEmpty(password, "密码不能为空");
    }
}
